<template>
	<view class="content">
		<image class="cardimg" src="@/static/img/topup_card1.png" mode="widthFix"></image>
		<image class="cardimg" src="@/static/img/topup_card2.png" mode="widthFix"></image>
		<image class="cardimg" src="@/static/img/topup_card3.png" mode="widthFix"></image>
		<view class="info" @click="add">
			<uni-icons type="plus-filled" size="30" color="#999999" class="mr_20"></uni-icons>
			<view class="">添加银行卡</view>
			<uni-icons type="right" size="22" color="#999999"></uni-icons>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {},
		methods: {
			add() {
				uni.navigateTo({
					url: '/pages/me/addCard'
				})
			}
		},
	}
</script>

<style scoped lang="scss">
	.content {
		/* background: white; */
		position: relative;
		overflow: hidden;
	}

	.cardimg {
		display: block;
		width: 690rpx;
		margin: 40rpx 30rpx 0;
	}

	.info {
		margin: 40rpx 30rpx 80rpx;
		padding: 30rpx 26rpx;
		background-color: white;
		border-radius: 12rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;

		view {
			flex: 1;
		}

		.mr_20 {
			margin-right: 20rpx;
		}
	}
</style>